package com.shyroke.service;

import org.springframework.stereotype.Service;

import com.shyroke.entity.readRecord;

@Service
public interface ReadRecordServiceI {

	void insert(Integer xiaoshuoId, Integer id, Integer integer);

	/**
	 * 根据用户ID和小说ID删除改记录
	 * @param id
	 * @param xiaoshuoId
	 */
	void deleteByOld(Integer id, Integer xiaoshuoId);

	
	/**
	 * 根据用户Id和小说Id查找小说
	 * @param xiaoshuoId
	 * @param id
	 * @return
	 */
	readRecord selectByXiaoshuoIdAndUserId(Integer xiaoshuoId, Integer id);


}
